﻿using System;
using System.Runtime.InteropServices;

namespace GLDotNet
{
    public class VertexBuffer<T> : BufferBase<T>
        where T : struct
    {
        protected override BufferTarget BufferTarget
        {
            get { return BufferTarget.ArrayBuffer; }
        }
      
        public VertexBuffer(GraphicsDevice graphicsDevice)
            : base(graphicsDevice)
        {
            this.Handle = this.GenerateBuffer();
        }
    }
}
